lzo: adjust for cmake 4.x compatibility
authorHannu Nyman <[email protected]>
Tue, 7 Oct 2025 16:07:47 +0000 (19:07 +0300)
committerHannu Nyman <[email protected]>
Tue, 7 Oct 2025 16:07:47 +0000 (19:07 +0300)
Patch CMakeLists.txt to fulfill cmake 4.0 requirements
of cmake_minimum_required being at least 3.5 and in future 3.10.

Signed-off-by: Hannu Nyman <[email protected]>
libs/lzo/Makefile
libs/lzo/patches/002-cmake-4.0-compatibility.patch [new file with mode: 0644]

index 2a746301ffb46eaa44d335664a3d01f7efc43ee5..2808392feefbd1d58eb9c7371b86a4228d903afd 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lzo
 PKG_VERSION:=2.10
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.oberhumer.com/opensource/lzo/download/
diff --git a/libs/lzo/patches/002-cmake-4.0-compatibility.patch b/libs/lzo/patches/002-cmake-4.0-compatibility.patch
new file mode 100644 (file)
index 0000000..90b551a
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -8,7 +8,7 @@
+ # All Rights Reserved.
+ #
+-cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.10)
+ #
+ # simple usage example (Unix):